//
#import <BridgeKit/BridgeKit.h>

int main(int argc, char* argv[])
{
	NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
	BKFramework* fw = [[BKFramework alloc] initWithPath:
		//@"/System/Library/Frameworks/CoreFoundation.framework"];
		@"/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework"];
	
	BKFunction* func = [fw.signatures functionWithName: @"CGSessionCopyCurrentDictionary"];
	id result = [func callWithArguments: nil];
	NSLog(@"result = %@", result);
	
	[fw release];
	[pool release];
	return 0;
}
